using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace Weazel.Toad.Application.Forms
{
	internal class AboutDialogForm : Weazel.Toad.Application.Forms.DialogBaseForm
  {
    private Label label1;
    //private LinkLabel graphVizLinkLabel;
    //private Label label3;
    private LinkLabel iCSharpCodeLinkLabel;
    private Label label2;
	private LinkLabel weazelLinkLabel;
	private LinkLabel linkLabel1;
	private Label label4;

    private System.ComponentModel.IContainer components = null;

		public AboutDialogForm()
		{
			// This call is required by the Windows Form Designer.
			InitializeComponent();

			// TODO: Add any initialization after the InitializeComponent call
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.label1 = new System.Windows.Forms.Label();
			this.weazelLinkLabel = new System.Windows.Forms.LinkLabel();
			this.iCSharpCodeLinkLabel = new System.Windows.Forms.LinkLabel();
			this.label2 = new System.Windows.Forms.Label();
			//this.graphVizLinkLabel = new System.Windows.Forms.LinkLabel();
			//this.label3 = new System.Windows.Forms.Label();
			this.linkLabel1 = new System.Windows.Forms.LinkLabel();
			this.label4 = new System.Windows.Forms.Label();
			this.contentPanel.SuspendLayout();
			this.headerPanel.SuspendLayout();
			this.SuspendLayout();
			// 
			// contentPanel
			// 
			this.contentPanel.Controls.Add(this.linkLabel1);
			this.contentPanel.Controls.Add(this.label4);
			//this.contentPanel.Controls.Add(this.graphVizLinkLabel);
			//this.contentPanel.Controls.Add(this.label3);
			this.contentPanel.Controls.Add(this.iCSharpCodeLinkLabel);
			this.contentPanel.Controls.Add(this.label2);
			this.contentPanel.Controls.Add(this.weazelLinkLabel);
			this.contentPanel.Controls.Add(this.label1);
			this.contentPanel.Size = new System.Drawing.Size(492, 227);
			// 
			// headerPanel
			// 
			this.headerPanel.Size = new System.Drawing.Size(492, 82);
			// 
			// dialogHeadingLabel
			// 
			this.dialogHeadingLabel.Size = new System.Drawing.Size(152, 28);
			this.dialogHeadingLabel.Text = "About Toad...";
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(25, 26);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(258, 14);
			this.label1.TabIndex = 0;
			this.label1.Text = "This tool is part of the Weazel Design Environment";
			// 
			// weazelLinkLabel
			// 
			this.weazelLinkLabel.AutoSize = true;
			this.weazelLinkLabel.Enabled = true;
			this.weazelLinkLabel.Location = new System.Drawing.Point(25, 47);
			this.weazelLinkLabel.Name = "weazelLinkLabel";
			this.weazelLinkLabel.Size = new System.Drawing.Size(142, 14);
			this.weazelLinkLabel.TabIndex = 1;
			this.weazelLinkLabel.TabStop = true;
            this.weazelLinkLabel.Text = "http://www.codeplex.com/Weazel";
			this.weazelLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.AboutDialogForm_LinkClicked);
			// 
			// iCSharpCodeLinkLabel
			// 
			this.iCSharpCodeLinkLabel.AutoSize = true;
			this.iCSharpCodeLinkLabel.Location = new System.Drawing.Point(25, 89);
			this.iCSharpCodeLinkLabel.Name = "iCSharpCodeLinkLabel";
			this.iCSharpCodeLinkLabel.Size = new System.Drawing.Size(143, 14);
			this.iCSharpCodeLinkLabel.TabIndex = 3;
			this.iCSharpCodeLinkLabel.TabStop = true;
			this.iCSharpCodeLinkLabel.Text = "http://www.icsharpcode.net/";
			this.iCSharpCodeLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.AboutDialogForm_LinkClicked);
			// 
			// label2
			// 
			this.label2.AutoSize = true;
			this.label2.Location = new System.Drawing.Point(25, 68);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(381, 14);
			this.label2.TabIndex = 2;
			this.label2.Text = "Contains text editing functionality from the SharpDevelopment IDE for .NET";
			// 
			// linkLabel1
			// 
			this.linkLabel1.AutoSize = true;
            this.linkLabel1.Location = new System.Drawing.Point(25, 131);
			this.linkLabel1.Name = "linkLabel1";
			this.linkLabel1.Size = new System.Drawing.Size(202, 14);
			this.linkLabel1.TabIndex = 7;
			this.linkLabel1.TabStop = true;
            this.linkLabel1.Text = "http://rijndael.ece.vt.edu/gezel2/index.php/Main_Page";
			// 
			// label4
			// 
			this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(25, 110);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(293, 14);
			this.label4.TabIndex = 6;
			this.label4.Text = "Weazel is based on the Gezel HDL by Patrick Schaumont";
			// 
			// AboutDialogForm
			// 
			this.ClientSize = new System.Drawing.Size(492, 366);
			this.MaximumSize = new System.Drawing.Size(500, 400);
			this.MinimumSize = new System.Drawing.Size(500, 400);
			this.Name = "AboutDialogForm";
			this.Text = "About Toad Development Tool";
			this.contentPanel.ResumeLayout(false);
			this.contentPanel.PerformLayout();
			this.headerPanel.ResumeLayout(false);
			this.headerPanel.PerformLayout();
			this.ResumeLayout(false);

		}
		#endregion

		private void AboutDialogForm_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
		{
			System.Diagnostics.Debug.Assert(sender is LinkLabel);
			System.Diagnostics.Process.Start((sender as LinkLabel).Text);
		}
	}
}

